package parser;


import exceptions.BeanCreationException;
import registry.BeanDefinitionRegistry;

//解析XML配置文件，并封装到BeanDefinition中
public interface BeanDefinitionReader {

    //获取注册表对象
    BeanDefinitionRegistry getRegistry();

    /**
     * 加载配置文件并在注册表中注册
     * @param configLocation
     * @throws Exception
     */
    void loadBeanDefinitions(String configLocation) throws Exception;
}
